package com.gla.service;

import com.gla.domain.Address;
import com.gla.result.Result;
import com.gla.util.ServerResponse;


import java.util.List;

public interface IAddressService {
    public ServerResponse add(Address address,Integer user_id);//添加收货地址
    List<Address> getAddress();//查询所有收货地址
    List<Address> selectAddressById(int user_id);//根据id查询收货地址
    public ServerResponse updateAddress(Address address);//修改收货地址
    public void deleteAddressById(Integer id);//删除收货地址
    List<Address> selectDefaultAddById(int user_id);//根据id查询默认收货地址
}
